from .load import *


class LoadUI(Ui_Load):
    def __init__(self):
        pass

    def init(self):
        gif = QtGui.QMovie('./static/loading.gif')
        self.pngL.setMovie(gif)
        gif.start()

        # png = QtGui.QPixmap('./static/logo.png')
        # self.pngL.setPixmap(png)


if __name__ == '__main__':
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Load = QtWidgets.QWidget()
    ui = HomeWorkingUI()
    ui.setupUi(Load)
    ui.init()
    # Load.show()
    Load.showMaximized()
    sys.exit(app.exec_())